package com.think.admin.web.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.think.admin.model.mainCompany.MainCompanyDTO;
import com.think.admin.model.mainCompany.MainCompanyQuery;
import com.think.common.web.service.ISuperService;
import com.think.dao.entity.MainCompany;
import org.springframework.http.HttpEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 公司信息表 服务类
 * </p>
 *
 * @author cwy
 * @since 2019-07-09
 */
public interface IMainCompanyService extends ISuperService<MainCompany> {

    /**
     * <p>
     *  分页查询公司信息
     * </p>
     * @author CaiWenYi
     * @Date: 2019/7/09 16:11
     */
    HttpEntity pageMainCompany(Page<MainCompanyDTO> page, MainCompanyQuery mainCompanyQuery);


    /**
     * <p>
     * 新增或者修改
     * </p>
     * @author CaiWenYi
     * @Date: 2019/7/09 16:11
     */
    HttpEntity createOrUpdate(MainCompany mainCompany);

    /**
     * <p>
     * 批量删除
     * </p>
     * @author CaiWenYi
     * @Date: 2019/7/09 16:11
     */
    HttpEntity delete(List<String> idList);

}
